﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShippingOrder.aspx.cs"
    EnableEventValidation="false" Inherits="WMS6.Web.Outbound.ShippingOrder" meta:resourcekey="Page" %>

<%@ Register Src="../UserControls/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Shipping Order</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <base target="_self" />

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
        
        
         var action = document.getElementById("hdnActionID").value;
            if(action != null && action != "")
            {
                var array = action.split(',');
                initQueryPage(array[0],array[1]);
            }
            else
            {
                 initEditNewPage();
            }
          
        }
        
        function newOrder()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "ShippingOrder.aspx?from=" + escape(from);
            return false;
        }
        
         //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
        //弹出收货人代码
        function selectConsigneeID() 
        {
            var type = document.getElementById("hdnTypeValue").value;
            //判断单据类型如果是退货时选择供应商
            if (type != null && type.toString().toUpperCase() == "Return".toUpperCase())
            {
                var rtnValue = popModalWindow('../Configuration/VendorQuery.aspx?action=txtConsigneeID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            }
            else 
            {
                var rtnValue = popModalWindow('../Configuration/CustomerQuery.aspx?action=txtConsigneeID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            }
            
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtConsigneeID").focus();
                document.getElementById("txtConsigneeID").value = rtnValue;
                  document.getElementById("hdnPageType").value = "1"; //标识符，标识本次操作是否会导致页面刷新 默认0  1代表会刷新
                __doPostBack("txtConsigneeID_TextChanged","");
            }

        }
        //弹出付款方代码
        function selectPayMentID()
        {
            var rtnValue = popModalWindow('../Configuration/BillingEntityQuery.aspx?action=txtInco_Terms','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtBillToID").focus();
                document.getElementById("txtBillToID").value = rtnValue;
                  document.getElementById("hdnPageType").value = "1"; //标识符，标识本次操作是否会导致页面刷新 默认0  1代表会刷新
                __doPostBack("txtBillToID_TextChanged","");
            }
        }
        
        //弹出承运商代码
        function selectCarrierID()
        {
            var rtnValue = popModalWindow('../Configuration/CarrierQuery.aspx?action=txtCarrierID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtCarrierID").focus();
                document.getElementById("txtCarrierID").value = rtnValue;
            }
        }

        //弹出窗口选择司机
        function SelectDriver() {
            var carrier = document.getElementById("txtCarrierName").value;
            var rtnValue = popModalWindow('../Configuration/DriverQuery.aspx?action=txtDriver_Name&CarrierID=' + escape(carrier), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtDriver_Name").focus();
                document.getElementById("txtDriver_Name").value = rtnValue;
            }
        }
        
        //弹出分类货位
        function selecetSortationLocation()
        {
            var rtnValue = popModalWindow('../Configuration/LocationQuery.aspx?action=txtSortation_Location','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSortation_Location").focus();
                document.getElementById("txtSortation_Location").value = rtnValue;
            }
        }
        
        //弹出包装货位
         function selecetPackingLocation()
        {
            var rtnValue = popModalWindow('../Configuration/LocationQuery.aspx?action=txtPacking_Location','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtPacking_Location").focus();
                document.getElementById("txtPacking_Location").value = rtnValue;
            }
        }
        
        //弹出窗口选择港口
        function selectDestinationPort()
        {
            var rtnValue = popModalWindow('../Configuration/PortQuery.aspx?action=txtDestinationPort','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtDestinationPort").focus();
                document.getElementById("txtDestinationPort").value = rtnValue;
            }
        }  
        
         //弹出窗口选择港口
        function selectDeparturePort()
        {
            var rtnValue = popModalWindow('../Configuration/PortQuery.aspx?action=txtDeparturePort','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtDeparturePort").focus();
                document.getElementById("txtDeparturePort").value = rtnValue;
            }
        }
        //弹出窗口选择中转港
        function selectTransshipmentPort() 
        {
            var rtnValue = popModalWindow('../Configuration/PortQuery.aspx?action=txtTransshipmentPort', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtTransshipmentPort").focus();
                document.getElementById("txtTransshipmentPort").value = rtnValue;
            }
        }
        
        function showAction()
		{	
			var pos = getElementPos("btnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}
			 
		//显示 报表 DIV
		function showReport()
		{	
			var pos = getElementPos("htmlbtnReport");	
			document.getElementById("reportDiv").style.top = pos.y+17;
			document.getElementById("reportDiv").style.left = pos.x;  			
			document.getElementById("hiddenReportFlag").value = '1';
		}
		
		function hiddenActionDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}
		}
		
		
		//隐藏 报表 DIV    
		function hiddenReportDiv()
		{
			var flag = document.getElementById("hiddenReportFlag").value
			if(flag == "1")
			{
				document.getElementById("reportDiv").style.display = "block";
				document.getElementById("hiddenReportFlag").value = '0';
			}
			else 
			{
				document.getElementById("reportDiv").style.display = "none";
			}
		}
		
		   //弹出 打印 入库验收单 的窗口
        function popPrintOutbound()
        {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=PRINTOUTBOUND&orderID=' + escape(OrderID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }

        //弹出 打印 订车通知单 的窗口
        function popPrintCarNoticeSet() {
            var OrderID = document.getElementById("txtOrderID").value;
            var OwnerID = document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=PRINTCARNOTICESET&orderID=' + escape(OrderID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
        //导入ShippingOrder
        function DataImport() {
            var rtnValue = popModalWindow('../Common/ImporData.aspx?action=' + escape(document.getElementById('hdnImportDataType').value) + '&OrderID=' + escape(document.getElementById('txtOrderID').value) + '&OwnerID=' + escape(document.getElementById('txtOwnerID').value), 'dialogWidth=520px;dialogHeight=300px;center=yes;resizable=yes;status=no;')

            window.location.href = "ShippingOrder.aspx?from=" + escape(document.getElementById("hdnFrom").value) + "&ID=" + escape(document.getElementById('txtOrderID').value) + "&detail=1";
		   //把导入标识置为1，则页面加载的时候 默认显示 第6个Tab
		   
		   return false;
	   }
	   
        //导入ShippingOrder
        function OutReceiptImport() 
        {
        
            var rtnValue = popModalWindow('OutReceiptQuery.aspx?OrderID=' + escape(document.getElementById('txtOrderID').value) + '&OwnerID=' + escape(document.getElementById('txtOwnerID').value), 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;')
          
              window.location.href = "ShippingOrder.aspx?from=" + escape(document.getElementById("hdnFrom").value) + "&ID=" + escape(document.getElementById('txtOrderID').value) + "&detail=5";
         
            //window.location.href = "ShippingOrder.aspx?from=" + escape(document.getElementById("hdnFrom").value) + "&ID=" + escape(document.getElementById('txtOrderID').value) + "&detail=1";
		   //把导入标识置为1，则页面加载的时候 默认显示 第6个Tab
	   }
	   
	   
	    function ImporDataDivClose()
        {
           window.location.href = "../Outbound/ShippingOrder.aspx?from="+ escape(document.getElementById("hdnFrom").value)+"&ID=" + escape(document.getElementById('txtOrderID').value) + "&detail=1";
        }

	   
    //弹出库存窗口
	function showInv(url) {
	    FastPopModalWindow(url, 'dialogWidth=950px;dialogHeight=600px;center=yes;resizable=yes;status=no;')
	}
	 function confirmMsg(code) 
	 {
	     if (code == "F7100_001") 
	     {
	         if (confirm('<%=GetGlobalMsgResource("F7100_001") %>')) 
	         {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		 else if (code == "C010") 
	     {
	         if (confirm('<%=GetGlobalMsgResource("C010") %>'))
	          {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		else if (code == "F7100_034") 
	     {
	         if (confirm('<%=GetGlobalMsgResource("F7100_034") %>'))
	          {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		else if (code == "F7100_035") 
	     {
	         if (confirm('<%=GetGlobalMsgResource("F7100_035") %>'))
	          {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		else if (code == "F7100_036") 
	     {
	         if (confirm('<%=GetGlobalMsgResource("F7100_036") %>'))
	          {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
	  }
	    function ExternalIDDuplicate()
	    {
	        if(confirm('<%=GetGlobalMsgResource("F4100_042") %>'))
	        {
	            document.getElementById("hdnExternalIDDuplicate").value = "Y";
	            document.getElementById("btnSave").click();
	        }
	    }
    </script>

    <style type="text/css">
        .style1
        {
            height: 23px;
        }
    </style>
</head>
<body onbeforeunload="SavePageValue('btnSave','hdnPageQty');">
    <form id="F7011" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblShippingOrder" runat="server" CssClass="label_header" Text="发货订单"
                            meta:resourcekey="lblShippingOrder"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>"
                            OnClick="btnGoBack_Click" Enabled="False" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"
                            Enabled="False" AccessKey="n" OnClientClick="newOrder();return false;" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>"
                            Enabled="False" AccessKey="s" OnClick="btnSave_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>"
                            Enabled="False" AccessKey="d" OnClientClick="javascript:if(confirmMsg('F7100_001')){ return true;} else{ return false;}"
                            OnClick="btnDelete_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>"
                            AccessKey="c" OnClick="btnCopy_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnRefresh" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnRefresh%>"
                            Enabled="False" AccessKey="r" />
                    </td>
                    <td>
                        <input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>"
                            class="button" onclick="showAction();" />
                    </td>
                    <td>
                        <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>"
                            class="button" onclick="showReport();" />
                    </td>
                    <td>
                        <asp:Button ID="btnFinish" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnFinish%>"
                            OnClick="btnFinish_Click" Visible="False" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,7)"
                        id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">常规</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,7);"
                        id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">&nbsp;收货人&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL3">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,7);"
                        id="divM3">
                        <asp:Label ID="one3" CssClass="navigationlabel" runat="server" meta:resourcekey="one3">&nbsp;账单地址&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 3px;">
                        <div class="tabR_1" id="divR3">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL4">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,7);"
                        id="divM4">
                        <asp:Label ID="one4" CssClass="navigationlabel" runat="server" meta:resourcekey="one4">&nbsp;运输&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR4">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL7">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',7,7);"
                        id="divM7">
                        <asp:Label ID="one7" CssClass="navigationlabel" runat="server" meta:resourcekey="one7">人力资源</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR7">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL5">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',5,7);"
                        id="divM5">
                        <asp:Label ID="one5" CssClass="navigationlabel" runat="server" meta:resourcekey="one5">其它</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR5">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL6">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',6,7);"
                        id="divM6">
                        <asp:Label ID="one6" CssClass="navigationlabel" runat="server" meta:resourcekey="one6">订单行</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR6">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTye" runat="server" CssClass="label" Text="订单类型" meta:resourcekey="lblTye"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderDate" runat="server" CssClass="label" Text="订单日期" meta:resourcekey="lblOrderDate"></asp:Label><font
                                        color="red">*</font>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" AutoPostBack="True"
                                        OnTextChanged="txtOrderID_TextChanged" meta:resourcekey="txtOrderID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" Enabled="False"
                                        meta:resourcekey="ddlStatus">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlType" runat="server" CssClass="mediumselectbox" AutoPostBack="True"
                                        OnSelectedIndexChanged="ddlType_SelectedIndexChanged" meta:resourcekey="ddlType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderDate" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsTime(this,'lblMsg')"
                                        meta:resourcekey="txtOrderDate"></asp:TextBox><img src="../Images/calendar.gif" class="img"
                                            alt="请选择日期" onclick="setday(this,txtOrderDate)" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label><font
                                        color="red">*</font>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblOrderGroup" runat="server" CssClass="label" Text="订单分组" meta:resourcekey="lblOrderGroup"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblReferenceNum" runat="server" CssClass="label" Text="销售订单号" meta:resourcekey="lblReferenceNum"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblRequestShipDate" runat="server" CssClass="label" Text="要求发货日期"
                                        meta:resourcekey="lblRequestShipDate"></asp:Label><font color="red">*</font>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="imgOwnerID" runat="server" alt="select one item"
                                        class="img" onclick="selectOwner();" />
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderGroup" runat="server" CssClass="textbox" meta:resourcekey="txtOrderGroup"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtReferenceNum" runat="server" CssClass="textbox" meta:resourcekey="txtReferenceNum"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtRequestShipDate" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsTime(this,'lblMsg')"
                                        meta:resourcekey="txtRequestShipDate"></asp:TextBox><img src="../Images/calendar.gif"
                                            class="img" alt="请选择日期" onclick="setday(this,txtRequestShipDate)" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblPriority" runat="server" CssClass="label" Text="优先级" meta:resourcekey="lblPriority"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTotalQty" runat="server" CssClass="label" Text="总订购量" meta:resourcekey="lblTotalQty"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExternOrderID" runat="server" CssClass="label" Text="外部订单号" meta:resourcekey="lblExternOrderID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblActualShipDate" runat="server" CssClass="label" Text="实际发货日期" meta:resourcekey="lblActualShipDate"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlPriority" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlPriority">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalQty" runat="server" CssClass="textbox" Enabled="false" meta:resourcekey="txtTotalQty"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternOrderID" runat="server" CssClass="textbox" meta:resourcekey="txtExternOrderID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtActualShipDate" runat="server" CssClass="textbox" Enabled="false"
                                        meta:resourcekey="txtActualShipDate"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTotalGrossWeight" runat="server" CssClass="label" Text="总毛重" meta:resourcekey="lblTotalGrossWeight"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTotalCube" runat="server" CssClass="label" Text="总体积" meta:resourcekey="lblTotalCube"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExternOrderID2" runat="server" CssClass="label" Text="外部订单号2" meta:resourcekey="lblExternOrderID2"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeliveryDate" runat="server" CssClass="label" Text="到货日期" meta:resourcekey="lblDeliveryDate"></asp:Label><font
                                        color="red">*</font>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalGrossWeight" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalGrossWeight"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalCube" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalCube"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternOrderID2" runat="server" CssClass="textbox" meta:resourcekey="txtExternOrderID2"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeliveryDate" runat="server" CssClass="textbox" Height="18px"
                                        meta:resourcekey="txtDeliveryDate"></asp:TextBox><img alt="请选择日期" class="img" onclick="setday(this,txtDeliveryDate)"
                                            src="../Images/calendar.gif" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTotalNetWeight" runat="server" CssClass="label" Text="总净重"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExtendedPrice" runat="server" CssClass="label" Text="总金额" meta:resourcekey="lblExtendedPrice"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCoreReleaseID" runat="server" CssClass="label" Text="核放单号"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:CheckBox ID="chkCashOnDelivery" runat="server" CssClass="checkbox" Text="货到付款"
                                        meta:resourcekey="chkCashOnDelivery" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalNetWeight" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalNetWeight"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExtendedPrice" runat="server" CssClass="textbox" Enabled="false"
                                        meta:resourcekey="txtExtendedPrice"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCoreReleaseID" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:CheckBox ID="chkInvoicePrint" runat="server" CssClass="checkbox" Text="发票打印"
                                        meta:resourcekey="chkInvoicePrint" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblWareHouseID" runat="server" CssClass="label" Text="收货仓库" Visible="False"
                                        meta:resourcekey="lblWareHouseID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblIntransitID" runat="server" CssClass="label" Text="转仓单号" Visible="False"
                                        meta:resourcekey="lblIntransitID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeclarationsType" runat="server" CssClass="label" Text="报关类型" meta:resourcekey="lblDeclarationsType"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblWorkOrder" runat="server" CssClass="label" Text="作业单号" meta:resourcekey="lblWorkOrder"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlWareHouseID" runat="server" CssClass="mediumselectbox" AutoPostBack="True"
                                        Visible="False" OnSelectedIndexChanged="ddlWareHouseID_SelectedIndexChanged"
                                        meta:resourcekey="ddlWareHouseID">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtIntransitID" runat="server" CssClass="textbox" Visible="False"
                                        Enabled="False" meta:resourcekey="txtIntransitID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlDeclarationsType" runat="server" CssClass="mediumselectbox">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtWorkOrder" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_2" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderID1" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblConsigneeID" runat="server" CssClass="label" Text="收货人代码" meta:resourcekey="lblConsigneeID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCompany" runat="server" CssClass="label" Text="收货人名称" meta:resourcekey="lblCompany"></asp:Label>
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderID1" runat="server" CssClass="textbox" meta:resourcekey="txtOrderID1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox" OnTextChanged="txtConsigneeID_TextChanged"
                                        AutoPostBack="True" meta:resourcekey="txtConsigneeID"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" id="imgConsigneeID" runat="server" class="img" onclick="selectConsigneeID();" />
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="txtC_Company" runat="server" CssClass="largetextbox" meta:resourcekey="txtC_Company"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblC_Country" runat="server" CssClass="label" Text="国家" meta:resourcekey="lblC_Country"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Prov" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblC_Prov"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Contact1" runat="server" CssClass="label" Text="联系人1" meta:resourcekey="lblC_Contact1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Contact2" runat="server" CssClass="label" Text="联系人2" meta:resourcekey="lblC_Contact2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Country" runat="server" CssClass="textbox" meta:resourcekey="txtC_Country"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Prov" runat="server" CssClass="textbox" meta:resourcekey="txtC_Prov"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Contact1" runat="server" CssClass="textbox" meta:resourcekey="txtC_Contact1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Contact2" runat="server" CssClass="textbox" meta:resourcekey="txtC_Contact2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblC_City" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblC_City"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Counties" runat="server" CssClass="label" Text="区县"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Phone1" runat="server" CssClass="label" Text="电话1" meta:resourcekey="lblC_Phone1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Phone2" runat="server" CssClass="label" Text="电话2" meta:resourcekey="lblC_Phone2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_City" runat="server" CssClass="textbox" meta:resourcekey="txtC_City"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Counties" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Phone1" runat="server" CssClass="textbox" meta:resourcekey="txtC_Phone1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Phone2" runat="server" CssClass="textbox" meta:resourcekey="txtC_Phone2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblC_Street" runat="server" CssClass="label" Text="街道" meta:resourcekey="lblB_Street"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Zip" runat="server" CssClass="label" Text="邮编" meta:resourcekey="lblC_Zip"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Fax1" runat="server" CssClass="label" Text="传真1" meta:resourcekey="lblC_Fax1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Fax2" runat="server" CssClass="label" Text="传真2" meta:resourcekey="lblC_Fax2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtC_Street" runat="server" CssClass="textbox" meta:resourcekey="txtB_Street"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtC_Zip" runat="server" CssClass="textbox" meta:resourcekey="txtC_Zip"></asp:TextBox>
                                </td>
                                <td width="180px" class="style1">
                                    <asp:TextBox ID="txtC_Fax1" runat="server" CssClass="textbox" meta:resourcekey="txtC_Fax1"></asp:TextBox>
                                </td>
                                <td width="180px" class="style1">
                                    <asp:TextBox ID="txtC_Fax2" runat="server" CssClass="textbox" meta:resourcekey="txtC_Fax2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblC_Address" runat="server" CssClass="label" Text="地址" meta:resourcekey="lblC_Address"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Email1" runat="server" CssClass="label" Text="电子邮件1" meta:resourcekey="lblC_Email1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblC_Email2" runat="server" CssClass="label" Text="电子邮件2" meta:resourcekey="lblC_Email2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtC_Address" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                        meta:resourcekey="txtC_Address"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Email1" runat="server" CssClass="textbox" meta:resourcekey="txtC_Email1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtC_Email2" runat="server" CssClass="textbox" meta:resourcekey="txtC_Email2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_3" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderID2" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblBillToID" runat="server" CssClass="label" Text="付款方代码" meta:resourcekey="lblBillToID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Company" runat="server" CssClass="label" Text="付款方名称" meta:resourcekey="lblB_Company"></asp:Label>
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrderID2" runat="server" CssClass="textbox" meta:resourcekey="txtOrderID2"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtBillToID" runat="server" CssClass="textbox" OnTextChanged="txtBillToID_TextChanged"
                                        AutoPostBack="True" meta:resourcekey="txtBillToID"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" class="img" id="imgBillToID" runat="server" onclick="selectPayMentID();" />
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="txtB_Company" runat="server" CssClass="largetextbox" meta:resourcekey="txtB_Company"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblB_Country" runat="server" CssClass="label" Text="国家" meta:resourcekey="lblB_Country"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Prov" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblB_Prov"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Contact1" runat="server" CssClass="label" Text="联系人1" meta:resourcekey="lblB_Contact1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Contact2" runat="server" CssClass="label" Text="联系人2" meta:resourcekey="lblB_Contact2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Country" runat="server" CssClass="textbox" meta:resourcekey="txtB_Country"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Prov" runat="server" CssClass="textbox" meta:resourcekey="txtB_Prov"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Contact1" runat="server" CssClass="textbox" meta:resourcekey="txtB_Contact1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Contact2" runat="server" CssClass="textbox" meta:resourcekey="txtB_Contact2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblB_City" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblB_City"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Counties" runat="server" CssClass="label" Text="区县" meta:resourcekey="lblB_Counties"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Phone1" runat="server" CssClass="label" Text="电话1" meta:resourcekey="lblB_Phone1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Phone2" runat="server" CssClass="label" Text="电话2" meta:resourcekey="lblB_Phone2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_City" runat="server" CssClass="textbox" meta:resourcekey="txtB_City"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Counties" runat="server" CssClass="textbox" meta:resourcekey="txtB_Counties"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Phone1" runat="server" CssClass="textbox" meta:resourcekey="txtB_Phone1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Phone2" runat="server" CssClass="textbox" meta:resourcekey="txtB_Phone2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblB_Street" runat="server" CssClass="label" Text="街道" meta:resourcekey="lblB_Street"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Zip" runat="server" CssClass="label" Text="邮编" meta:resourcekey="lblB_Zip"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Fax1" runat="server" CssClass="label" Text="传真1" meta:resourcekey="lblB_Fax1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Fax2" runat="server" CssClass="label" Text="传真2" meta:resourcekey="lblB_Fax2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Street" runat="server" CssClass="textbox" meta:resourcekey="txtB_Street"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Zip" runat="server" CssClass="textbox" meta:resourcekey="txtB_Zip"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Fax1" runat="server" CssClass="textbox" meta:resourcekey="txtB_Fax1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Fax2" runat="server" CssClass="textbox" meta:resourcekey="txtB_Fax2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblB_Address" runat="server" CssClass="label" Text="地址" meta:resourcekey="lblB_Address"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Email1" runat="server" CssClass="label" Text="电子邮件1" meta:resourcekey="lblB_Email1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblB_Email2" runat="server" CssClass="label" Text="电子邮件2" meta:resourcekey="lblB_Email2"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtB_Address" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                        meta:resourcekey="txtB_Address"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Email1" runat="server" CssClass="textbox" meta:resourcekey="txtB_Email1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtB_Email2" runat="server" CssClass="textbox" meta:resourcekey="txtB_Email2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_4" style="display: none;">
                        <table width="900px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderID3" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblInco_Terms1" runat="server" CssClass="label" Text="交货条款" meta:resourcekey="lblInco_Terms1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDoor" runat="server" CssClass="label" Text="门" meta:resourcekey="lblDoor"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTrailer_Number" runat="server" CssClass="label" Text="车号" meta:resourcekey="lblTrailer_Number"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblShip_Name" runat="server" CssClass="label" Text="船名"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrder3" runat="server" CssClass="textbox" meta:resourcekey="txtOrder3"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlIncoTerm" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlIncoTerm">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDoor" runat="server" CssClass="textbox" meta:resourcekey="txtDoor"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTrailer_Number" runat="server" CssClass="textbox" meta:resourcekey="txtTrailer_Number"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtShip_Name" runat="server" CssClass="textbox" MaxLength="25"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierID" runat="server" CssClass="label" Text="承运商代码" meta:resourcekey="lblCarrierID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPayment_Term" runat="server" CssClass="label" Text="付款条款" meta:resourcekey="lblPayment_Term"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblRoute" runat="server" CssClass="label" Text="路线" meta:resourcekey="lblRoute"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTrailer_Owner" runat="server" CssClass="label" Text="车主" meta:resourcekey="lblTrailer_Owner"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVoyage" runat="server" CssClass="label" Text="航次"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierID" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierID"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCarrierID();" />
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlPaymentTerm" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlPaymentTerm">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtRoute" runat="server" CssClass="textbox" meta:resourcekey="txtRoute"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTrailer_Owner" runat="server" CssClass="textbox" meta:resourcekey="txtTrailer_Owner"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVoyage" runat="server" CssClass="textbox" MaxLength="25"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierName" runat="server" CssClass="label" Text="承运商名称" meta:resourcekey="lblCarrierName"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDischarge_Place" runat="server" CssClass="label" Text="卸货地" meta:resourcekey="lblDischarge_Place"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStop" runat="server" CssClass="label" Text="站点" meta:resourcekey="lblStop"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDriver_Name" runat="server" CssClass="label" Text="司机" meta:resourcekey="lblDriver_Name"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDestinationPort" runat="server" CssClass="label" Text="出发港"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierName" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierName"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDischarge_Place" runat="server" CssClass="textbox" meta:resourcekey="txtDischarge_Place"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtStop" runat="server" CssClass="textbox" meta:resourcekey="txtStop"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDriver_Name" runat="server" CssClass="textbox" meta:resourcekey="txtDriver_Name"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="SelectDriver();" />
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDestinationPort" runat="server" CssClass="textbox" meta:resourcekey="txtStop"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="img2" alt="select one item" class="img" onclick="selectDestinationPort();" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblDeparture_Date" runat="server" CssClass="label" Text="离开日期" meta:resourcekey="lblDeparture_Date"></asp:Label><font
                                        color="red">*</font>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDelivery_Place" runat="server" CssClass="label" Text="交货地" meta:resourcekey="lblDelivery_Place"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStage" runat="server" CssClass="label" Text="暂存区" meta:resourcekey="lblStage"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblContainer_Type" runat="server" CssClass="label" Text="货柜类型" meta:resourcekey="lblContainer_Type"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeparturePort" runat="server" CssClass="label" Text="目的港"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeparture_Date" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsTime(this,'lblMsg')"
                                        meta:resourcekey="txtDeparture_Date"></asp:TextBox><img src="../Images/calendar.gif"
                                            class="img" alt="请选择日期" onclick="setday(this,txtDeparture_Date)" />
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDelivery_Place" runat="server" CssClass="textbox" meta:resourcekey="txtDelivery_Place"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtStage" runat="server" CssClass="textbox" meta:resourcekey="txtStage"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlContainerType" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlContainerType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeparturePort" runat="server" CssClass="textbox"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="img3" alt="select one item" class="img" onclick="selectDeparturePort();" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTransportion_Mode" runat="server" CssClass="label" Text="运输方式"
                                        meta:resourcekey="lblTransportion_Mode"></asp:Label>
                                </td>
                                <td colspan="2">
                                    <asp:Label ID="lblTransportion_Service" runat="server" CssClass="label" Text="运输服务"
                                        meta:resourcekey="lblTransportion_Service"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblContainer_Qty" runat="server" CssClass="label" Text="货柜数量" meta:resourcekey="lblContainer_Qty"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTransshipmentPort" runat="server" CssClass="label" Text="中转港"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlTransportionMode" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlTransportionMode">
                                    </asp:DropDownList>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="txtTransportion_Service" runat="server" CssClass="largetextbox"
                                        meta:resourcekey="txtTransportion_Service"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtContainer_Qty" runat="server" CssClass="textbox" meta:resourcekey="txtContainer_Qty"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTransshipmentPort" runat="server" CssClass="textbox"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="img4" alt="select one item" class="img" onclick="selectTransshipmentPort();" />
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_7" style="display: none;">
                        <table width="540" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblStoreman" runat="server" CssClass="label" Text="保管员" meta:resourcekey="lblStoreman"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblWorkType" runat="server" CssClass="label" Text="作业形式" meta:resourcekey="lblWorkType"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblEquipmentProfileID" runat="server" CssClass="label" Text="设备号"
                                        meta:resourcekey="lblEquipmentProfileID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:DropDownList ID="ddlStoreman" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlStoreman">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:DropDownList ID="ddlWorkType" runat="server" CssClass="mediumselectbox" AutoPostBack="True"
                                        OnSelectedIndexChanged="ddlWorkType_SelectedIndexChanged" meta:resourcekey="ddlWorkType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:DropDownList ID="ddlEquipmentProfileID" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlEquipmentProfileID">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblForkliftDriver" runat="server" CssClass="label" Text="司机" meta:resourcekey="lblForkliftDriver"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblWorkClass" runat="server" CssClass="label" Text="作业班次" meta:resourcekey="lblWorkClass"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:DropDownList ID="ddlForkliftDriver" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlForkliftDriver">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:DropDownList ID="ddlWorkClass" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlWorkClass">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkIsHoliday" runat="server" Checked="False" CssClass="checkbox"
                                        meta:resourcekey="chkIsHoliday" Text="节假日" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblManResourceRemark" runat="server" Text="备注" CssClass="label" meta:resourcekey="lblManResourceRemark"></asp:Label>
                                </td>
                                <td width="180px">
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtManResourceRemark" runat="server" MaxLength="300" CssClass="largetextarea"
                                        TextMode="MultiLine" meta:resourcekey="txtManResourceRemark"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_5" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOrderID4" runat="server" CssClass="label" Text="订单号" meta:resourcekey="lblOrderID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSortation_Location" runat="server" CssClass="label" Text="分类货位"
                                        meta:resourcekey="lblSortation_Location"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf1" runat="server" CssClass="label" Text="自定义字段1" meta:resourcekey="lblUdf1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf6" runat="server" CssClass="label" Text="自定义字段6" meta:resourcekey="lblUdf6"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOrder4" runat="server" CssClass="textbox" meta:resourcekey="txtOrder4"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSortation_Location" runat="server" CssClass="textbox" meta:resourcekey="txtSortation_Location"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selecetSortationLocation();" />
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf1" runat="server" CssClass="textbox" meta:resourcekey="txtUdf1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf6" runat="server" CssClass="textbox" meta:resourcekey="txtUdf6"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblHandling_Type" runat="server" CssClass="label" Text="处理类型" meta:resourcekey="lblHandling_Type"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPacking_Location" runat="server" CssClass="label" Text="包装货位" meta:resourcekey="lblPacking_Location"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf2" runat="server" CssClass="label" Text="自定义字段2" meta:resourcekey="lblUdf2"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf7" runat="server" CssClass="label" Text="自定义字段7" meta:resourcekey="lblUdf7"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlHandingType" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlHandingType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPacking_Location" runat="server" CssClass="textbox" meta:resourcekey="txtPacking_Location"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selecetPackingLocation();" />
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf2" runat="server" CssClass="textbox" meta:resourcekey="txtUdf2"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf7" runat="server" CssClass="textbox" meta:resourcekey="txtUdf7"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Label ID="lblRemark2" runat="server" CssClass="label" Text="拣货说明" meta:resourcekey="lblRemark2"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf3" runat="server" CssClass="label" Text="自定义字段3" meta:resourcekey="lblUdf3"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf8" runat="server" CssClass="label" Text="自定义字段8" meta:resourcekey="lblUdf8"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtRemark2" runat="server" CssClass="largetextbox" meta:resourcekey="txtRemark2"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf3" runat="server" CssClass="textbox" meta:resourcekey="txtUdf3"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf8" runat="server" CssClass="textbox" meta:resourcekey="txtUdf8"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Label ID="lblRemark" runat="server" CssClass="label" Text="备注" meta:resourcekey="lblRemark"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf4" runat="server" CssClass="label" Text="自定义字段4" meta:resourcekey="lblUdf4"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf9" runat="server" CssClass="label" Text="自定义字段9" meta:resourcekey="lblUdf9"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtRemark" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                        meta:resourcekey="txtB_Address"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf4" runat="server" CssClass="textbox" meta:resourcekey="txtUdf4"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf9" runat="server" CssClass="textbox" meta:resourcekey="txtUdf9"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblUdf5" runat="server" CssClass="label" Text="自定义字段5" meta:resourcekey="lblUdf5"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf10" runat="server" CssClass="label" Text="自定义字段10" meta:resourcekey="lblUdf10"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf5" runat="server" CssClass="textbox" meta:resourcekey="txtUdf5"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf10" runat="server" CssClass="textbox" meta:resourcekey="txtUdf10"></asp:TextBox>
                                </td>
                            </tr>
                            <tr height="10px">
                                <td width="180px">
                                </td>
                                <td width="180px">
                                </td>
                                <td width="180px">
                                </td>
                                <td width="180px">
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:CheckBox ID="chkShipTogether" runat="server" CssClass="checkbox" Text="合并发货"
                                        meta:resourcekey="chkShipTogether" />
                                </td>
                                <td width="180px">
                                    <asp:CheckBox ID="chkEnablePacking" runat="server" CssClass="selectbox" Text="包装订单"
                                        meta:resourcekey="chkEnablePacking" />
                                </td>
                                <td width="180px">
                                    <asp:CheckBox ID="chkBatchFlag" runat="server" CssClass="selectbox" Text="是否批量订单"
                                        Enabled="false" />
                                </td>
                                <td width="180px">
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
                        <ContentTemplate>
                            <div id="con_one_6" style="display: none; overflow-x: auto; overflow-y: hidden;">
                                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                                    <tr>
                                        <td>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="btnAddDetail" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                                            OnClientClick="javascript: if(document.getElementById('hdnOrderID').value == ''){ SethdnPageQty('hdnPageQty'); if(confirmMsg('F7100_034')) {return true;} else{ return false;} }"
                                                            OnClick="btnAddDetail_Click" />
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnDeleteDetail" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDeleteDetail%>"
                                                            OnClientClick="javascript:if(confirmMsg('C010')) return true; else return false;"
                                                            OnClick="btnDeleteDetail_Click" meta:resourcekey="btnDeleteDetail" />
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnExplode" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnExplode%>"
                                                            OnClientClick="javascript:if(confirmMsg('F7100_035')) return true; else return false;"
                                                            OnClick="btnExplode_Click" />
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnImportData" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnImportData%>"
                                                            OnClientClick="javascript:if(document.getElementById('hdnOrderID').value == ''){  SethdnPageQty('hdnPageQty'); if(confirmMsg('F7100_036')) return true; else return false; }"
                                                            OnClick="btnImportData_Click" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr style="height: 10px;">
                                        <td>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div>
                                                <asp:GridView ID="gvOrderDetail" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                                    AllowPaging="True" CssClass="gridview" DataKeyNames="ORDER_ID,LINE_ID,STATUS"
                                                    Width="3900px" OnInit="gvOrderDetail_Init" OnRowDataBound="gvOrderDetail_RowDataBound"
                                                    OnPageIndexChanging="gvOrderDetail_PageIndexChanging" OnSorting="gvOrderDetail_Sorting"
                                                    meta:resourcekey="gvOrderDetail">
                                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                                    <RowStyle CssClass="GridViewRowStyle" />
                                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                                    <PagerStyle CssClass="GridViewPageStyle" />
                                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                                    <Columns>
                                                        <asp:TemplateField meta:resourcekey="TemplateField">
                                                            <HeaderTemplate>
                                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('7011','gvOrderDetail');"
                                                                    onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvOrderDetail');"
                                                                    meta:resourcekey="CheckBox1" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                                            </ItemTemplate>
                                                            <FooterTemplate>
                                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvOrderDetail');"
                                                                    meta:resourcekey="CheckBox2" />
                                                            </FooterTemplate>
                                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="明细" FooterText="明细" meta:resourcekey="Detail">
                                                            <ItemTemplate>
                                                                <a id="receiptA" runat="server" onserverclick="SavePageQuery_Click" title='<%# Eval("LINE_ID").ToString() %>'
                                                                    target="_self">
                                                                    <img src="../Images/icon_edit.gif" class="img" style="border: none 0px blue;" alt="detail" /></a>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_50" HorizontalAlign="Center" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                                        </asp:BoundField>
                                                        <%--<asp:BoundField DataField="SkuID" HeaderText="货品" FooterText="货品" SortExpression="SkuID"
                                            meta:resourcekey="SkuID">
                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                        </asp:BoundField>--%>
                                                        <asp:TemplateField HeaderText="货品代码" FooterText="货品代码" SortExpression="OD.SKU_ID"
                                                            meta:resourcekey="SkuID">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSkuID" runat="server" Text='<%# Eval("SKU_ID").ToString() %>' onmouseover="this.style.cursor='hand';this.style.textDecoration='underline';"
                                                                    onmouseout="this.style.textDecoration='none';"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SKU.DESCR"
                                                            meta:resourcekey="SkuDescr">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SKU_DESCR").ToString() %>'
                                                                    meta:resourcekey="lblSkuDescr"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_200" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="PACK_ID" HeaderText="包装" FooterText="包装" SortExpression="OD.PACK_ID"
                                                            meta:resourcekey="PACKID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="UOM_ID" HeaderText="单位" FooterText="单位" SortExpression="OD.UOM_ID"
                                                            meta:resourcekey="UOMID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="STATUS_D" HeaderText="状态" FooterText="状态" SortExpression="STATUS_D"
                                                            meta:resourcekey="STATUSD">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="订货数量" HeaderText="订货数量" SortExpression="OD.ORIGINAL_QTY"
                                                            meta:resourcekey="ORIGINALQTY">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblORIGINALQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("ORIGINAL_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblORIGINALQTY"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="预分配数量" HeaderText="预分配数量" SortExpression="OD.PREALLOCATED_QTY"
                                                            meta:resourcekey="PREALLOCATEDQTY">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblPREALLOCATEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("PREALLOCATED_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblPREALLOCATEDQTY"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="分配数量" HeaderText="分配数量" SortExpression="OD.ALLOCATED_QTY"
                                                            meta:resourcekey="ALLOCATEDQTY">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblALLOCATEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("ALLOCATED_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblALLOCATEDQTY"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="拣货数量" HeaderText="拣货数量" SortExpression="OD.PICKED_QTY"
                                                            meta:resourcekey="PICKEDQTY">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblPICKEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("PICKED_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblPICKEDQTY"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="发货数量" HeaderText="发货数量" SortExpression="OD.SHIPPED_QTY"
                                                            meta:resourcekey="SHIPPEDQTY">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSHIPPEDQTY" runat="server" Text='<%# GetPreferenceDigit(Eval("SHIPPED_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblSHIPPEDQTY"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="单价" HeaderText="单价" SortExpression="OD.UNIT_PRICE"
                                                            meta:resourcekey="UnitPrice">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblUnitPrice" runat="server" Text='<%# GetPreferenceDigit(Eval("UNIT_PRICE").ToString()) %>'
                                                                    meta:resourcekey="lblUnitPrice"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="金额" HeaderText="金额" SortExpression="OD.EXTENDED_PRICE"
                                                            meta:resourcekey="ExtendedPrice">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblExtendedPrice" runat="server" Text='<%# GetPreferenceDigit(Eval("EXTENDED_PRICE").ToString()) %>'
                                                                    meta:resourcekey="lblExtendedPrice"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="允许替代" HeaderText="允许替代" SortExpression="OD.OK_TO_SUBSTITUTE"
                                                            meta:resourcekey="OkToSubstitute">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblOkToSubstitute" runat="server" Text='<%# Eval("OK_TO_SUBSTITUTE").ToString() =="0"?"N":"Y" %>'
                                                                    meta:resourcekey="lblOkToSubstitute"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="IS_SUBSTITUTE" HeaderText="替代料" FooterText="替代料" SortExpression="OD.IS_SUBSTITUTE"
                                                            meta:resourcekey="IsSubstitute">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="ORIGINAL_LINE_ID" HeaderText="原行号" FooterText="原行号" SortExpression="OD.ORIGINAL_LINE_ID"
                                                            meta:resourcekey="OriginalLineID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="ORIGINAL_SKU" HeaderText="原货品代码" FooterText="原货品代码" SortExpression="OD.ORIGINAL_SKU"
                                                            meta:resourcekey="OriginalSku">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="EXTERNAL_LOT" HeaderText="外部批号" FooterText="外部批号" SortExpression="OD.EXTERNAL_LOT">
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="VENDOR_ID" HeaderText="供应商代码" FooterText="供应商代码" SortExpression="OD.VENDOR_ID">
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR01" HeaderText="批次属性01" FooterText="批次属性01" SortExpression="OD.LOT_ATTR01">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR02" HeaderText="批次属性02" FooterText="批次属性02" SortExpression="OD.LOT_ATTR02">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR03" HeaderText="批次属性03" FooterText="批次属性03" SortExpression="OD.LOT_ATTR03">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR04" HeaderText="批次属性04" FooterText="批次属性04" SortExpression="OD.LOT_ATTR04">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR05" HeaderText="批次属性05" FooterText="批次属性05" SortExpression="OD.LOT_ATTR05">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR06" HeaderText="批次属性06" FooterText="批次属性06" SortExpression="OD.LOT_ATTR06">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR07" HeaderText="批次属性07" FooterText="批次属性07" SortExpression="OD.LOT_ATTR07">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR08" HeaderText="批次属性08" FooterText="批次属性08" SortExpression="OD.LOT_ATTR08">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR09" HeaderText="批次属性09" FooterText="批次属性09" SortExpression="OD.LOT_ATTR09">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR10" HeaderText="批次属性10" FooterText="批次属性10" SortExpression="OD.LOT_ATTR10">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="生产日期" HeaderText="生产日期" SortExpression="OD.PRODUCE_DATE">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblProduceDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("PRODUCE_DATE").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="失效日期" HeaderText="失效日期" SortExpression="OD.EXPIRY_DATE">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblExpiryDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("EXPIRY_DATE").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="入库日期" HeaderText="入库日期" SortExpression="OD.RECEIPT_DATE">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblReceiptDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("RECEIPT_DATE").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="实际发货日期" HeaderText="实际发货日期" SortExpression="OD.ACTUAL_SHIP_DATE">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblActualShipDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("ACTUAL_SHIP_DATE").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="货品型号" HeaderText="货品型号" SortExpression="SKU.SKU_STYLE"
                                                            meta:resourcekey="SkuStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSkuStyle" runat="server" Text='<%# Eval("SKU_STYLE").ToString() %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                                <asp:GridView ID="gvPickDetail" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                                                    AllowPaging="True" CssClass="gridview" Width="1000px" Visible="false" DataKeyNames="PickDetailID,Status"
                                                    OnRowDataBound="gvPickDetail_RowDataBound" OnPageIndexChanging="gvPickDetail_PageIndexChanging"
                                                    OnSorting="gvPickDetail_Sorting" meta:resourcekey="gvPickDetail">
                                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                                    <PagerStyle CssClass="GridViewPageStyle" />
                                                    <RowStyle CssClass="GridViewRowStyle" />
                                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                                    <Columns>
                                                        <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                                            <ItemStyle CssClass="GridViewRowWidth_40" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField meta:resourcekey="TemplateField2">
                                                            <HeaderTemplate>
                                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvPickDetail');"
                                                                    meta:resourcekey="CheckBox1Resource3" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelectResource3" />
                                                            </ItemTemplate>
                                                            <FooterTemplate>
                                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvPickDetail');"
                                                                    meta:resourcekey="CheckBox2Resource3" />
                                                            </FooterTemplate>
                                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="OrderLineId" HeaderText="行号" FooterText="行号" SortExpression="OrderLineId"
                                                            meta:resourcekey="OrderLineId">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="PickDetailID" HeaderText="拣货单号" FooterText="拣货单号" SortExpression="PickDetailID"
                                                            meta:resourcekey="PickDetailID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="StatusD" HeaderText="状态" FooterText="状态" SortExpression="StatusD"
                                                            meta:resourcekey="StatusD">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Lot" HeaderText="批号" FooterText="批号" SortExpression="Lot"
                                                            meta:resourcekey="Lot">
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:BoundField>
                                                        <%--<asp:BoundField DataField="Loc" HeaderText="来源货位" FooterText="来源货位" 
                                             SortExpression="Loc" meta:resourcekey="Loc">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="ToLoc" HeaderText="目标货位" FooterText="目标货位" 
                                             SortExpression="ToLoc" meta:resourcekey="ToLoc">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="LpnID" HeaderText="LPN" FooterText="LPN" 
                                             SortExpression="LpnID" meta:resourcekey="LpnID">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>--%>
                                                        <asp:BoundField DataField="SkuID" HeaderText="货品代码" FooterText="货品代码" SortExpression="SkuID"
                                                            meta:resourcekey="SkuID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SkuDescr"
                                                            meta:resourcekey="SkuDescr">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SkuDescr").ToString() %>'
                                                                    meta:resourcekey="lblSkuDescr"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_200" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="发货数量" HeaderText="发货数量" SortExpression="AllocatedQty"
                                                            meta:resourcekey="AllocatedQty">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblQty" runat="server" Text='<%# GetPreferenceDigit(Eval("Qty").ToString()) %>'
                                                                    meta:resourcekey="lblQty"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="PackID" HeaderText="包装" FooterText="包装" SortExpression="PackID"
                                                            meta:resourcekey="PackID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="UomID" HeaderText="单位" FooterText="单位" SortExpression="UomID"
                                                            meta:resourcekey="UomID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <%--<asp:BoundField DataField="CaseID" HeaderText="箱号" FooterText="箱号" 
                                             SortExpression="CaseID" meta:resourcekey="CaseID">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="DropID" HeaderText="落放ID" FooterText="落放ID" 
                                             SortExpression="DropID" meta:resourcekey="DropID">
                                             <ItemStyle CssClass="GridViewRowWidth_100" />
                                         </asp:BoundField>                                       --%>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                            <div>
                                                <uc1:Pager ID="PagerFooter" runat="server" OnFirst="btnFirst_Click" OnPrevious="btnPrevious_Click"
                                                    OnNext="btnNext_Click" OnLast="btnLast_Click" OnGoTo="GoTo_Click" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr style="height: 30px;">
                                        <td>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <div style="margin-left: 10px" id="totalOrderDetail" runat="server">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td class="Result_01">
                                                总计：
                                            </td>
                                            <td class="Result_02">
                                                <table>
                                                    <tr>
                                                        <td style="margin-right: 20px;">
                                                            &nbsp; &nbsp;
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalOriginal" runat="server" Text="订货数量:" class="label"></asp:Label>
                                                            <asp:Label ID="lblTotalOriginalQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalPreallocated" runat="server" Text="预分配数量:" class="label"></asp:Label><asp:Label
                                                                ID="lblTotalPreallocatedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalAllcated" runat="server" Text="分配数量:" class="label"></asp:Label><asp:Label
                                                                ID="lblTotalAllcatedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalPicked" runat="server" Text="拣货数量:" class="label"></asp:Label><asp:Label
                                                                ID="lblTotalPickedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalShipped" runat="server" Text="发货数量:" class="label"></asp:Label><asp:Label
                                                                ID="lblTotalShippedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalUnit" runat="server" Text="单价:" class="label"></asp:Label><asp:Label
                                                                ID="lblTotalUnitPrice" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalExtended" runat="server" Text="金额:" class="label"></asp:Label><asp:Label
                                                                ID="lblTotalExtendedPrice" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td class="Result_03">
                                            </td>
                                        </tr>
                                        <tr style="height: 20px">
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
                <input type="hidden" id="hiddenFlag" />
                <input type="hidden" id="hdnLineID" runat="server" />
                <input type="hidden" id="hdnBatchFlag" runat="server" />
                <input type="hidden" id="hdnOrderID" runat="server" />
                <input type="hidden" id="hdnFlag" runat="server" value="0" />
                <input type="hidden" id="hdnCopy" runat="server" />
                <input type="hidden" id="hdnFrom" runat="server" />
                <input type="hidden" id="hdnPageQty" runat="server" value="0" />
                <input type="hidden" id="hdnPageType" runat="server" value="0" />
                <input type="hidden" id="hdnDataFormat" runat="server" />
                <input type="hidden" id="hdnTypeValue" runat="server" />
                <input type="hidden" id="hdnActionID" runat="server" />
                <input id="hdnIsRequiredExternalID" runat="server" type="hidden" />
                <input type="hidden" id="hdnExternalIDDuplicate" runat="server" />
                <input type="hidden" id="hdnImportDataType" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
    <input type="hidden" id="hiddenReportFlag" />
    <input type="hidden" id="hdncalendarFlag" runat="server" />
    <div id="actionDiv" style="background-color: #FFFFFF; position: absolute; display: none;
        border: none 0 black">
        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnManPowerResource" runat="server" visible="False">
                    <asp:LinkButton ID="lnkbtnManPowerResource" runat="server" Text="人力资源更新" meta:resourcekey="lnkbtnManPowerResource"
                        OnClick="lnkbtnManPowerResource_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnOutReceipt" runat="server" visible="False">
                    <asp:LinkButton ID="lnkbtnOutReceipt" runat="server" Text="快进快出导入" OnClientClick="javascript:if(document.getElementById('hdnOrderID').value == ''){  SethdnPageQty('hdnPageQty'); if(confirmMsg('F7100_036')) return true; else return false; }"
                        OnClick="btnOutReceipt_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnOrderCancel" runat="server" visible="False">
                    <asp:LinkButton ID="lnkbtnOrderCancel" runat="server" Text="订单取消" OnClientClick="blockScreen();"
                        OnClick="lnkbtnOrderCancel_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnUpdateExternalOrderID" runat="server" visible="False">
                    <asp:LinkButton ID="lnkbtnUpdateExternalOrderID" runat="server" Text="<%$Resources:ButtonResource,lnkbtnUpdateExternalOrderID%>"
                        meta:resourcekey="lnkbtnUpdateExternalOrderID" OnClick="lnkbtnUpdateExternalOrderID_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnUpdateDeclarations" runat="server" visible="False">
                    <asp:LinkButton ID="lnkbtnUpdateDeclarations" runat="server" Text="关务信息更新" meta:resourcekey="lnkbtnUpdateDeclarations"
                        OnClick="lnkbtnUpdateDeclarations_Click"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnContainerImport" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnContainerImport" runat="server" Text="<%$Resources:ButtonResource,lnkbtnContainerImport%>"
                        OnClick="lnkbtnContainerImport_Click"></asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPrintOutbound" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnPrintOutbound" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintOutbound%>"
                        OnClientClick="popPrintOutbound();"></asp:LinkButton>
                </td>
            </tr>
            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                <td class="line" id="tdlnkbtnPrintCarNoticeSet" runat="server" visible="false">
                    <asp:LinkButton ID="lnkbtnPrintCarNoticeSet" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintCarNoticeSet%>"
                        OnClientClick="popPrintCarNoticeSet();"></asp:LinkButton>
                </td>
            </tr>
            
        </table>
    </div>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
	<!--
		hiddenActionDiv();
		hiddenReportDiv();
		hiddenCalendarDiv();
	//-->
</script>

